<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <title>网上招聘系统</title>
</head>

<body  >
<div class="container">

    <h2 class="page-header ">用户注册(*为必填项)</h2>
    <form class="form-horizontal col-md-offset-3 col-md-4" id="fm" method="post" action="/register">
        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">*用户名：</label>
            </div>
            <input class="form-control col-sm-10" style="width: 200px" name="username" type="text" />
        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">*密码：</label>
            </div>
            <input class="form-control col-sm-10" style="width: 200px" name="password" type="text" />
        </div>


        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">*姓名：</label>
            </div>
            <input class="form-control col-sm-10" style="width: 200px" name="name" type="text" />
        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">*性别：</label>
            </div>
            <select class="form-control col-sm-10" style="width: 200px" name="sex">
                <option>男</option>
                <option>女</option>
            </select>
        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">*出生日期：</label>
            </div>
            <input class="col-sm-10 form-control" style="width: 200px" name="birthday" type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">*毕业学校：</label>
            </div>
            <input class="col-sm-10 form-control" style="width: 200px" name="school" type="text""/>
        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">*联系方式：</label>
            </div>
            <input class="col-sm-10 form-control" style="width: 200px;" name="phone" type="text" />

        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">电子邮箱：</label>
            </div>
            <input class="col-sm-10 form-control" style="width: 200px;" name="email" type="text" />
        </div>


        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">专业类别：</label>
            </div>
            <select class="col-sm-10 form-control" style="width: 200px;" name="trade">
                <option>软件工程</option>
                <option>经济管理</option>
                <option>数学</option>
                <option>土木工程</option>
                <option>法学</option>
            </select>
        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label>薪资期望：</label>
            </div>
                <select class="col-sm-10 form-control" style="width: 200px;" name="salary">
                    <option>3000-4000</option>
                    <option>4001-5000</option>
                    <option>5001-6000</option>
                    <option>6001-7000</option>
                    <option>7001-8000</option>
                </select>
        </div>

        <div class="form-group">
            <div class="col-sm-2">
                <label class="control-label">个人评价：</label>
            </div>
            <textarea class="col-sm-10 form-control" style="width: 200px;" name="tip"></textarea>
        </div>

        <div class="col-sm-offset-2">
            <input class="btn btn-primary col-sm-2" type="submit" value="注册"/>
        </div>
    </form>

</div>


<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/WdatePicker.js"></script>
<script type="text/javascript" src="js/jquery.validate.min.js"></script>





</body>
</html>
